package com.tuniu.agents.service;

import com.tuniu.agents.common.dto.ChatRecordQueryDTO;
import com.tuniu.agents.common.pojo.ChatRecord;
import com.tuniu.agents.common.service.ChatRecordService;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class DefaultChatRecordService implements ChatRecordService {
    @Override
    public Page<ChatRecord> getUserConversationsList(ChatRecordQueryDTO dto) {
        return null;
    }

    @Override
    public Page<ChatRecord> getChatRecordsPageByDTO(ChatRecordQueryDTO dto) {
        return null;
    }

    @Override
    public List<ChatRecord> getChatRecordsByDTO(ChatRecordQueryDTO dto) {
        return List.of();
    }

    @Override
    public ChatRecord savePrimaryResponse(String userId, String conversationId, String requestId, String responseId, String content, Integer isDeleted) {
        return null;
    }

    @Override
    public ChatRecord saveRequest(String conversationId, String userId, String requestId, String responseId, String content, Integer isDeleted) {
        return null;
    }

    @Override
    public List<ChatRecord> getConversationHistory(String conversationId) {
        return List.of();
    }

    @Override
    public List<ChatRecord> findByConversationIdAndMessageTypeOrderByAddTimeDesc(String conversationId, Integer messageType) {
        return List.of();
    }

    @Override
    public Map<String, Object> parseContent(String content) {
        return Map.of();
    }

    @Override
    public ChatRecord saveSecondaryResponse(String requestId, String responseId, String parentResponseId, String content, Integer isDeleted) {
        return null;
    }

    @Override
    public ChatRecord getRecordOnce(String conversationId, String userId) {
        return null;
    }

    @Override
    public List<ChatRecord> findByConversationIdsAndMessageType(List<String> conversationIds, Integer messageType) {
        return List.of();
    }
}
